package cn.xiaoqi.hystrix.dubbo.userservice.service;

import cn.xiaoqi.hystrix.dubbo.api.UserService;
import org.apache.dubbo.config.annotation.Service;

@Service(protocol = "dubbo", version = "1.0.0")
public class UserServiceImpl implements UserService {

    @Override
    public String getUser(Integer id) {
        return "user: " + id;
    }

}
